import EventBus from '@/util/eventBus.js'
import mixins from '@/util/mixins';
import filters from '@/util/filters';


// 全局注册组件清单
const components = [];

const install = function(vue) {
	vue.prototype.$EventBus = new EventBus();

	vue.mixin(mixins);
	Object.keys(filters).forEach(key => vue.filter(key, filters[key]));
};

export default install;
